/*
 * 鸡蛋美术商城 正品保证javaScript脚本文件
 * $Author: Jo
 * $Id: genuine.js 2015-8-11 10:02:00
 * 脚本Begin
*/

$(function(){
    $(document).scroll(function(){
        if($(document).scrollTop() < 640){
            $(".genuine-follow-top").hide();
        }else{
            $(".genuine-follow-top").show();
        }
        if($(document).scrollTop() > 424 && $(document).scrollTop() < 3860){
            document.getElementById("logo1").className = "logo11";
            document.getElementById("logo11").className = "logo11";
            document.getElementById("logo2").className = "logo2";
            document.getElementById("logo22").className = "logo2";
            document.getElementById("logo3").className = "logo3";
            document.getElementById("logo33").className = "logo3";
        }else if($(document).scrollTop() >= 3860 && $(document).scrollTop() < 6340){
            document.getElementById("logo1").className = "logo1";
            document.getElementById("logo11").className = "logo1";
            document.getElementById("logo2").className = "logo22";
            document.getElementById("logo22").className = "logo22";
            document.getElementById("logo3").className = "logo3";
            document.getElementById("logo33").className = "logo3";
        }else if($(document).scrollTop() >= 6340){
            document.getElementById("logo1").className = "logo1";
            document.getElementById("logo11").className = "logo1";
            document.getElementById("logo2").className = "logo2";
            document.getElementById("logo22").className = "logo2";
            document.getElementById("logo3").className = "logo33";
            document.getElementById("logo33").className = "logo33";
          }
    });
});
/* 脚本 End */